package com.leo.train.business.dto;

import com.leo.train.common.resp.PageDto;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class DailyTrainTicketDto extends PageDto {
    private String trainCode;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;

    private String start;
    private String end;
}
